package com.xmtlxx.system.domain.vo;

import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 标签管理视图对象 sys_tag
 *
 * @author xmtlxx
 * @date 2022-04-26
 */
@Data
@ApiModel("标签管理视图对象")
@ExcelIgnoreUnannotated
public class SysTagVo {

    private static final long serialVersionUID = 1L;

    /**
     * 标签ID
     */
    @ExcelProperty(value = "标签ID")
    @ApiModelProperty("标签ID")
    private String tagId;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    @ApiModelProperty("名称")
    private String name;

    /**
     * 标签代码
     */
    @ExcelProperty(value = "标签代码")
    @ApiModelProperty("标签代码")
    private String code;

    /**
     * 状态（0正常 1停用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "glo_status")
    @ApiModelProperty("状态（0正常 1停用）")
    private String status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    @ApiModelProperty("备注")
    private String remark;

    /**
     * 序号
     */
    @ExcelProperty(value = "序号")
    @ApiModelProperty("序号")
    private Integer sort;


}
